package cn.lzwei.bilimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.lzwei.common.utils.PageUtils;
import cn.lzwei.bilimall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lizewei
 * @email Lizewei2105@163.com
 * @date 2022-12-22 10:30:40
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {
    /**
     * 查询采购需求列表：模糊查询、状态、指定仓库
     */
    PageUtils queryPage(Map<String, Object> params);
    /**
     * 获取采购单下新建或已分配状态的采购需求：用于领取采购单
     */
    List<PurchaseDetailEntity> listDetailByPurchaseId(Long id);
}

